<template>
  <router-view></router-view>
  <!-- <button @click="test">点击查询</button> -->
</template>

<script>
// import axios from 'axios'
export default {
  name: 'App',
methods: {
    // async test() {
    //   await axios.post('http://localhost:8080/questions/randoms/', { page: 1, pageSize: 10 }).then(res => {
    //     console.log(res)
    //   })
      // await axios.post('http://localhost:8080/api/add', { Name: 'lijn', Address: 'fhhsdf' }).then(res => {
      //   console.log(res)
      // })
      // await axios.post('http://localhost:8080/api/delete', { id: 25 }).then(res => {
      //   console.log(res)
      // })
      // await axios.post('http://localhost:8080/api/update', { id: 26, Name: 'ljc', Address: '广东省' }).then(res => {
      //   console.log(res)
      // })
      // await axios.post('http://localhost:8080/api/list', { page: 1, pageSize: 30 }).then(res => {
      //   console.log(res)
      // })
      // await axios.post('http://localhost:8080/api/list', { page: 1, pageSize: 30 }).then(res => {
      //   console.log(res)
      // })
    }
 }

  

</script>

<style></style>
